package com.example.jsonarry.nanningtravel;

import android.os.Bundle;
import android.os.PersistableBundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.Toast;

/**
 * Created by jsonarry on 2015/10/20.
 */
public class BaseActivity extends AppCompatActivity
{
    @Override
    public void onCreate(Bundle savedInstanceState, PersistableBundle persistentState)
    {
        super.onCreate(savedInstanceState, persistentState);

    }
     void showToast(String message,int duration)
    {
        Toast.makeText(this,message,duration).show();
    }

}
